package org.hao.samples.service;

import java.util.List;

import org.hao.samples.model.ExamScore;
import org.hao.samples.model.OneSubjectVO;
import org.hao.samples.model.Student;
import org.hao.samples.model.Subject;
import org.hao.samples.model.SubjectVO;
import org.hao.samples.model.scoreVO;

public interface subjectService {

	List<Subject> findAllSubject();

	void createsubject(Subject subject) throws Exception;

	void delete(Integer id) throws Exception;

	Subject getsubjectById(Integer id);

	void editsubject(Subject subject) throws Exception;

	void saveExamTest(SubjectVO subjectVO) throws Exception;

	void editTest(SubjectVO subjectVO) throws Exception;

	SubjectVO getSubjectVOById(Integer id);

	List<Student> getAllUserBySubject(Integer subjectId);

	List<SubjectVO> findAllSubjectVO();

	void saveSubjectStudent(List<Integer> list, Integer subjectId);

	List<OneSubjectVO> findAllSubjectByStudent(Integer userId);

	scoreVO findScoreById(Integer id,String userName);
	
}
